﻿@model OpenMVCRM.ViewModels.DeleteClientAddressViewModel
@{
    ViewBag.Title = "Delete Address";
}

<fieldset>
@using (Html.BeginForm())
{
<div class="deleteConfirm">
  <p>Are you sure to delete this Address from <b>@Model.Client.Name'</b>s Profile?</p>
  <input type="submit" value="Delete" />
  @Html.HiddenFor(x => x.AddressToDelete.ID)
  @Html.HiddenFor(x => x.Client.ID)
</div>
<div class="divClientInfo" style="display:none;">

<h2>@Model.Client.Name</h2>
<p><a href="@Model.Client.WebSite">@Model.Client.WebSite</a></p>
<p>
    @Model.Client.Description
</p>

</div>
}
<div class="divAddressInfo">
 <h3>Address Information</h3>
  <div class="divAddressTile">
       <p>@Model.AddressToDelete.AddressLine1</p>
       <p>@Model.AddressToDelete.AddressLine2</p>
       <p>@Model.AddressToDelete.City</p>
       <p>@Model.AddressToDelete.StateName - @Model.AddressToDelete.ZipCode</p>
 </div>
</div>
</fieldset>

